package com.blex.misp.service;

import java.io.Serializable;
import java.util.List;

public interface GenericService<T> {
	    		
		public void save(final T entity);
		
		public void update(T entity);
		
		public void delete(Serializable id);
		
		public int getTotal();
		
		public List<T> findAll(int page, int rows, String sort, String order);

		public boolean isExist(String propertyName, Object value);
}
